﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SupermarketReport
{
    class Quad
    {
        public int ProductID { get; set; }
        public int Quantity { get; set; }
        public double Unitprice { get; set; }
        public string MarketName { get; set; }

        public Quad(int pID, int Quan, double uPrice, string mName)
        {
            this.ProductID = pID;
            this.Quantity = Quan;
            this.Unitprice = uPrice;
            this.MarketName = mName;
        }

        public override string ToString()
        {
            return "prodID: " + ProductID + " Quantity: " + Quantity + " unitprice: " + Unitprice + " market: " + MarketName;
        }
    }
}
